import request from "../request";

export interface RoleDataObj {
  id: number;
  name: string;
}

// 获取所有用户角色
export const getRoleListAll = (): PromiseRes<RoleDataObj[]> =>
  request.get("/role/listAll");
